<template>
    <div class="wl-item">
        <div class="wl-item-label wl-label-txt">
            <label>*</label>
            <label v-text="label"></label>
        </div>
        <!-- <el-date-picker v-if="itemType=='date'" v-model="val" class="wl-input-item"></el-date-picker>
        <wl-select v-else-if="itemType=='select'" v-model="val" class="wl-input-item"></wl-select>
        <wl-radio v-else-if="itemType=='radio'" @radioChange="change" :myData="itemData" class="wl-input-item wl-radio-item"></wl-radio>
        <el-input v-else v-model="val" class="wl-input-item"></el-input> -->
        <slot name="input" class="wl-input-item" :columnData="itemData"></slot>
    </div>
</template>
<script>
export default {
  props: {
    label: {
      type: String,
      default: ""
    },

    itemType: {
      type: String,
      default: "input"
    },

    itemData: {
      type: Object
    }
  },

  data() {
    return {
      val: ""
    };
  },

  methods: {
    change(val) {}
  },

  created() {}
};
</script>
